package com.per.mybootall.jdk8Stream.Function;

import java.util.function.Function;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: yyy
 * Date: 2022/2/22
 * Time: 15:21
 * Description:
 */
public class UseFunction02 {
  public Integer addFun(Integer value,Function fun){
    Integer res=(Integer)fun.apply(value);
    return res;
  }
}
